<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" href = '../css/board.css'>
<script src = '${pageContext.request.contextPath }/js/menu.js'></script>
</head>
<body>
<%
	String board_notice = request.getParameter("board_notice");	// 공지사항
	String board_event = request.getParameter("board_event");	// 이벤트
	String board_freeboard = request.getParameter("board_freeboard");	// 자유 게시판
	String board_club1 = request.getParameter("board_club1");	// 동호회 클럽1
	String board_club2 = request.getParameter("board_club2");	// 동호회 클럽2
	String board_club3 = request.getParameter("board_club3");	// 동호회 클럽3
	
	if(board_notice==null){	
		board_notice = "list_mini.jsp?category=1&form_num=0";					// 공지사항
	}
	if(board_event==null){	
		board_event = "list_mini.jsp?category=2&form_num=1";					// 이벤트
	}
	if(board_freeboard==null){	
		board_freeboard = "list_mini.jsp?category=10&form_num=2";					// 자유 게시판
	}
	if(board_club1==null){	
		board_club1 = "list_mini.jsp?category=101&form_num=3";					// 동호회 클럽1
	}
	if(board_club2==null){	
		board_club2 = "list_mini.jsp?category=102&form_num=4";					// 동호회 클럽2
	}
	if(board_club3==null){	
		board_club3 = "list_mini.jsp?category=103&form_num=5";					// 동호회 클럽3
	}

%>

		
<div id="board_wrap"> 
	<div class="board_contents_item">
		
		<div class="board_contents_notice"> 
			<input type="image" src="../images/m_title_notice.png"/>
			<input type="image" src="../images/m_title_more.png" align="right" onclick="goNotice()"/><br>
			<jsp:include page="<%=board_notice%>"  flush="false"/>
		</div>
		
		<div class="board_contents_event"> 
			<input type="image" src="../images/m_title_event.png"/>
			<input type="image" src="../images/m_title_more.png" align="right" onclick="goEvent()"/><br>
			<jsp:include page="<%=board_event%>"  flush="false"/>
		</div>
	</div>
	<br>
	<br>
	<br>
	<div class="board_contents_item">
		&nbsp;&nbsp;<input type="image" src="../images/m_title_freeboard.png"/>
			<input type="image" src="../images/m_title_more.png" align="right" onclick="goFreeBoard()"/><br>
		<div class="board_contents_freeboard">
			<jsp:include page="<%=board_freeboard%>"  flush="false"/>
		</div>
	</div>
	<br>
	<br>
	<br>
	<div class="board_contents_item">
		<div class="board_contents_club">
			<input type="image" src="../images/m_title_club_golf.png"/>
			<input type="image" src="../images/m_title_more.png" align="right" onclick="goClub_golf()"/><br>
			<jsp:include page="<%=board_club1%>"  flush="false"/>
		</div>
		<div class="board_contents_club">
			<input type="image" src="../images/m_title_club_moutain.png"/>
			<input type="image" src="../images/m_title_more.png" align="right" onclick="goClub_mountain()"/><br>
			<jsp:include page="<%=board_club2%>"  flush="false"/>
		</div>
		<div class="board_contents_club">
			<input type="image" src="../images/m_title_club_soccer.png"/>
			<input type="image" src="../images/m_title_more.png" align="right" onclick="goClub_soccer()"/><br>
			<jsp:include page="<%=board_club3%>"  flush="false"/>
		</div>
	</div>
</div>
</body>
</html>